package com.ss.whisper2.dao;

import com.ss.whisper2.pojo.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ArticleDao {
	List<Article> getArticles();
	Article getArticleById(@Param("id")Integer id);
}
